//
//  sanSeQuViewController.m
//  sanFsports
//
//  Created by mac on 16/11/21.
//  Copyright © 2016年 sanAiFuSport.com. All rights reserved.
//

#import "sanSeQuViewController.h"

@interface sanSeQuViewController ()

@end

@implementation sanSeQuViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setupUI];
}
#pragma mark-- 搭建UI界面
- (void)setupUI
{
    self.view.backgroundColor = [UIColor greenColor];
    
    UIButton *btn = [UIButton buttonWithType:UIButtonTypeContactAdd];
    
    btn.frame = CGRectMake(0, 0, 50, 50);
    
    [btn addTarget:self action:@selector(dismisVc) forControlEvents:UIControlEventTouchUpInside];
    
    [self.view addSubview:btn];
    
}
- (void)dismisVc
{
    // 销毁控制器 dismiss!
    [self dismissViewControllerAnimated:YES completion:^{
        
        NSLog(@"销毁");
    }];
    
}


@end
